const list=[1,2,3,4,5]

list.push(6)
console.log(list)
//结果：[ 1, 2, 3, 4, 5, 7 ]